// 引入node加密模块
const crypto = require("crypto");
module.exports = (str)=>{
  let md5 = crypto.createHash('md5');
  let result = md5.update(str).digest('hex');
  return result;
}